home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0019.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.2 KB  |  38 lines

  1. On Thu, 3 Apr 1997, Jamie B wrote:
  2.  
  3. > Okay, I'm not going to brag on about anything... All I want to know
  4. >  I want this:
  5. >      HELLO
  6. >  To be the same as this:
  7. >     
  8. >      HeLlO
  9. >  (No case discrimination)...
  10.  
  11. I don't have my manual infront of me, but this is a method:
  12. The ascii code difference between upper and lover case is always fixed. Ie
  13. the difference between a and A is the same as the difference between b and
  14. B.
  15.  
  16. if charcater read is greater than 64 (I dunno, look up the highest ascii
  17. value for lowercase) then subtract the difference.
  18.  
  19.  
  20.  
  21. Darryl
  22. Australia
  23. IMAGINE INFO   #####\             _             /#####    AMOS INFO
  24. Amiga 2000     #( )# |          _( )__         | #( )#  AmosPro + Compiler
  25. Amiga 3000T    ##### |         /_    /         | #####  APME (Get it!)
  26. 486DX2-66      #" "# |     ___m/I_ //_____     | #" "#  Turbo extension
  27. Imagine 3.0    # O # |____#-x.\ /++m\ /.x-#____| # O #  3D extension
  28. Intermediate   #m.m# |   /" \ ///###\\\ / "\   | #m.m#  BBS extension
  29.                #####/    ######/     \######    \#####
  30.              Profession- Disk Jockey/System Administrator
  31.                 http://www.dragonfire.net/~daz/home.htm
  32.  
  33.  
  34.  
  35.